package c.m.d.b.util;

import java.util.UUID;

public final class Utils
{
    private Utils()
    {

    }

    public static boolean nullCompareString(String str1, String str2)
    {
        if (str1 == null)
        {
            return str2 == null;
        }
        else
        {
            return str1.equals(str2);
        }
    }

    public static String createUUID()
    {
        String uuid = UUID.randomUUID().toString();
        return uuid.replace("-", "");
    }

    public static boolean isEmpty(String str)
    {
        return str == null || str.trim().isEmpty();
    }

}
